<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>line</title>
    <link rel="stylesheet" href="../../model/view.css">
</head>
<body>
<div class="catalog">
    <h2>目录</h2>
    <ul>
        <li>
            <p><a href="#element">< line ></a></p>
        </li>
        <li>
            <p><a href="#style">类型</a></p>
            <ul id="catalog_style">

            </ul>
        </li>
    </ul>
</div>
<div id="element">
    <h2>line</h2>
    <div>简介:</div>
    <p>给控件设置间距，使得界面清晰</p>
</div>
<div id="style"></div>
<div></div>
<script src="../../js/script_min.js"></script>
<script src="../../model/view.js"></script>
<script>
    let line = new view("line");
    line.init([
        {style:1,data:[
            {img:"img/line.png",code:`        <line attr="1,#ff6c6c"></line>
`,title:"经典款"},

        ]},

    ]);
</script>
<div class="author"><p>by-姜进</p></div>
</body>
</html>